package com.cya.策略模式结合简单工程模式;

/**
 * @author ：陈奕安（3048279304@qq.com）
 * @date ：Created in 2025/5/19 23:30
 * @description：
 * @modified By：
 * @version:
 */
public class SalesMan {
    private  Strategy strategy;

    public SalesMan(Strategy strategy) {
        this.strategy = strategy;
    }
    public void salesManShow(){
        strategy.show();
    }

}